#ifndef __LETTERSCENENODE_H__
#define __LETTERSCENENODE_H__

#include "../include/I2DSpriteSceneNode.h"
#include "../include/IFont.h"
#include "SceneGenerator.h"

class CLetterSceneNode : public I2DSpriteSceneNode
{
private:
	s8 Letter;
protected:
	CSceneGenerator *sg;
	IFont *TxtFont;
	vPos Points;
public:
	CLetterSceneNode(IFont *fnt,s8 newLetter,vPos nPoints,ISceneNodeBasicParamsDeclaration);
	virtual ~CLetterSceneNode();

	virtual void Render(IDrawableFaceManager *dfm);

	virtual void SetLetter(s8 newLetter);
	virtual s8 GetLetter();

	virtual void OnRender()	{}
};

#endif
